#include<iostream>
#include<unistd.h>
#include<signal.h>
#include<sys/types.h>

int main(int argc,char* argv[])
{
    if(argc!=3)
    {
        std::cout<<"Usage: "<<argv[0]<<" signum and pid"<<std::endl;
    }

    int signame =std::stoi(argv[1]);
    pid_t pid = std::stoi(argv[2]);
    
    kill(pid,signame);
    return 0;
}